package com.xinghai.pojo;

import javax.persistence.*;

@Table(name = "_post")
public class Post {
    @Id
    @Column(name = "_id")
    private String id;

    @Column(name = "_amount")
    private Integer amount;

    @Column(name = "_name")
    private String name;

    @Column(name = "_organizationId")
    private String organizationid;

    @Column(name = "_postCategoryId")
    private String postcategoryid;

    @Column(name = "_sortCode")
    private Integer sortcode;

    @Column(name = "_gangweileibie")
    private String gangweileibie;

    @Column(name = "_gangweixingzhi")
    private String gangweixingzhi;

    @Column(name = "_parentId")
    private String parentid;

    /**
     * @return _id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return _amount
     */
    public Integer getAmount() {
        return amount;
    }

    /**
     * @param amount
     */
    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    /**
     * @return _name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return _organizationId
     */
    public String getOrganizationid() {
        return organizationid;
    }

    /**
     * @param organizationid
     */
    public void setOrganizationid(String organizationid) {
        this.organizationid = organizationid;
    }

    /**
     * @return _postCategoryId
     */
    public String getPostcategoryid() {
        return postcategoryid;
    }

    /**
     * @param postcategoryid
     */
    public void setPostcategoryid(String postcategoryid) {
        this.postcategoryid = postcategoryid;
    }

    /**
     * @return _sortCode
     */
    public Integer getSortcode() {
        return sortcode;
    }

    /**
     * @param sortcode
     */
    public void setSortcode(Integer sortcode) {
        this.sortcode = sortcode;
    }

    /**
     * @return _gangweileibie
     */
    public String getGangweileibie() {
        return gangweileibie;
    }

    /**
     * @param gangweileibie
     */
    public void setGangweileibie(String gangweileibie) {
        this.gangweileibie = gangweileibie;
    }

    /**
     * @return _gangweixingzhi
     */
    public String getGangweixingzhi() {
        return gangweixingzhi;
    }

    /**
     * @param gangweixingzhi
     */
    public void setGangweixingzhi(String gangweixingzhi) {
        this.gangweixingzhi = gangweixingzhi;
    }

    /**
     * @return _parentId
     */
    public String getParentid() {
        return parentid;
    }

    /**
     * @param parentid
     */
    public void setParentid(String parentid) {
        this.parentid = parentid;
    }
}